package cn.yhz.pethome.base.util;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页
    private Integer currentPage = 1;
    //显示页
    private Integer pageSize = 5;

    public Integer getPage(){
        return (this.currentPage-1)*this.pageSize;
    }

}
